<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>openWYSIWYG Examples</title>
</head>

<body>


<form name="example" method="get">

<script language="JavaScript" type="text/javascript" src="wysiwyg.js">
</script>

<textarea id="textarea1" name="test1" style="height: 170px; width: 500px;">
xxxxxx
</textarea>
<script language="javascript1.2">
  generate_wysiwyg('textarea1');
</script>

<a onclick='foo();'>WWW</a>
<script language='JavaScript'>function foo(){alert(document.getElementById('textarea1').innerHTML );}</script>


<br><br>
<textarea id="textarea2" name="test2" style="height: 200px; width: 500px;">
<h1>GNU Lesser General Public License</h1>

<tt>
<p>Version 2.1, February 1999</p>

<blockquote>
<p>Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.</p>

<p>[This is the first released version of the Lesser GPL.  It also counts
 as the successor of the GNU Library Public License, version 2, hence
 the version number 2.1.]</p></blockquote>

<h3>Preamble</h3>

<p> The licenses for most software are designed to take away your freedom to share and change it.</p>
</tt>
</textarea>
<script language="javascript1.2">
  generate_wysiwyg('textarea2');
</script>

<br /><br />
<input type="submit" id="button" />
</form>


</body>
</html>
